GoXam for WPF v3
FindGroupKeyForNode Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : FindGroupKeyForNode Method
Find containing group node key for a given node data, if any.
Syntax
protected virtual NodeKey FindGroupKeyForNode( 
   NodeType nodedata
)

Parameters

nodedata

Return Value

a NodeKey for the containing group node, or the default value for that type if there is no container node for the node
Remarks

This is used for model discovery. This is only called if GroupNodePath is not an empty string. This method can be overridden in case the GroupNodePath property path is not flexible enough or fast enough to determine the value.

See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members